<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
   
    <title>chinaict</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="通信,IP电话,电信 联通 网通">
	<meta http-equiv="description" content="通信,IP电话,电信 联通 网通">
<c:import url="../common/head.jsp" />
<SCRIPT src="../alljs.js" type=text/javascript charset="gb2312"></SCRIPT>
<script src='${webpath}/dwr/interface/DwrMessage.js'></script> 
<script src='${webpath}/dwr/engine.js'></script> 
<script src='${webpath}/dwr/util.js'></script>
<%
	if(request.getAttribute("oper")!=null)
	{
		String oper=(String)request.getAttribute("oper");
		if(oper.equals("success"))
		{
			out.println("<script>alert('申请成功');</script>");
		}
		else if(oper.equals("fail"))
		{
			out.println("<script>alert('申请失败');</script>");
		}
	}
%>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">
	<table width="200" height="" border="0" cellpadding="0" cellspacing="0" class="table">
		  <tr>
			<td height="14%" valign="top" background="../images/menu1-bg.jpg"><img src="../images/menu8.jpg"></td>
		  </tr>
		  <tr>
			<td height="100%" valign="top" align="left">
			  <c:forEach var="webbusiness" items="${webbusiness}">
				&nbsp;<img src="../images/icon_5.gif" width="7" height="6" class="img">&nbsp;<a href="${webpath}/article/articleDisplay_${webbusiness.id}.html" target="_blank">${webbusiness.title}</a><br>
			</c:forEach>
			</td>
		  </tr>
    </table>
	<table width="200" height="" border="0" cellpadding="0" cellspacing="0" class="table">
		  <tr>
			<td height="14%" valign="top" background="../images/menu1-bg.jpg"><img src="../images/hzhb.jpg" width="150" height="44"></td>
		  </tr>
		  <tr>
			<td height="100%" valign="top" align="center"><br>
			 <a href="http://www.chinaunicom.com.cn/" target="_blank"><img src="../images/logo1-1.jpg" border="0"></a><br><br>
			  <a href="http://www.chinatelecom.com.cn/" target="_blank"><img src="../images/logo2-1.jpg" border="0"></a><br><br>
			  <a href="http://www.chinamobile.com/" target="_blank"><img src="../images/logo3-1.jpg" border="0"></a><br><br>
			  <a href="http://www.ghmdc.com.cn" target="_blank"><img src="../images/logo4-1.jpg" border="0"></a>
			</td>
		  </tr>
    </table></td>
    <td width="10">&nbsp;</td>
    <td valign="top">
	<!--在线申请开始 -->
                  <TABLE style="MARGIN-BOTTOM: 6px" cellSpacing=0 width="100%" 
                  align=center border=0>
                    <TBODY>
					<tr>
        				<td height="70" class="font-20-blue" background="../images/title.jpg">&nbsp;&nbsp; ★ 申请友情链接</td>
      				</tr>
				</TBODY></TABLE>
                  <TABLE id=table1 style="MARGIN-BOTTOM: 6px" cellSpacing=1 
                  width="100%" align=center bgColor=#999999 border=0>
                    <FORM name="friendlinkform" id="friendlinkform" action="${webpath}/FriendLink.do?action=friendLinkRequest" method="post" enctype="multipart/form-data" onSubmit="return checkformdata()">
                    <TBODY>
                    <TR>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=middle 
                      bgColor=#dddddd colSpan=4 height=30><B><FONT 
                        color=#3366cc>星号为必填项</FONT></B> </TD></TR>
                    <TR>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=middle 
                      width=105 bgColor=#f4f4f5><FONT color=#000000>网站名称：</FONT> </TD>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=left 
                      bgColor=#f4f4f5 colSpan=3 height=28><INPUT maxLength=50 
                        name="link_name" id="link_name" /> <FONT color=#ff3333>*</FONT></TD></TR>
                    <TR>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=middle 
                      width=105 bgColor=#f4f4f5><FONT 
                        color=#000000>网站链接：</FONT> 
                      </TD>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=left 
                      bgColor=#f4f4f5 colSpan=3 height=28>http://<INPUT maxLength=50 
                        name="link" id="link"> <FONT color=#ff3333>*(请不要输入http://)</FONT></TD></TR>
                    <TR>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=middle 
                      width=105 bgColor=#f4f4f5><FONT 
                        color=#000000>LOGO：</FONT> </TD>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=left 
                      bgColor=#f4f4f5 colSpan=3 height=28>
					  <input type="file" id="link_pic" name="link_pic" size="50"/>
					  </TD></TR>
                      <TD style="FONT-SIZE: 9pt; COLOR: #214b8a" align=middle 
                      bgColor=#f4f4f5 colSpan=4 height=35>
					  <INPUT type="submit" value=提交 name=Submit /> 
<INPUT type=reset value=重填 name=Submit2 /></TD></TR></FORM></TBODY></TABLE>
	<!--在线申请结束 -->
	
	</td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<c:import url="../common/foot.jsp" />
</body>
<script>
	function checkformdata() {

		if (document.friendlinkform.link_name.value == "") {
			alert("请填写网站名称！");
			document.friendlinkform.link_name.focus();
			document.friendlinkform.link_name.select();
			return false;
		}


		if (document.friendlinkform.link.value == "") {
			alert("请填写网站链接！");
			document.friendlinkform.link.focus();
			document.friendlinkform.link.select();
			return false;
		}
		return true;
	}	
	
</script>
</html>
